/* 错误提示飘窗样式 */
#toast {
    position: fixed;
    top: 20px;  /* 固定在页面顶部 */
    left: 50%;
    transform: translateX(-50%);  /* 水平居中 */
    background-color: #ff3860;  /* 错误提示色（红色） */
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s;
    font-size: 16px;
    z-index: 9999;  /* 确保飘窗位于最前面 */
}

/* 显示飘窗 */
#toast.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}

#success-toast {
    position: fixed;
    top: 20px;  /* 固定在页面顶部 */
    left: 50%;
    transform: translateX(-50%);  /* 水平居中 */
    background-color: #B4D5FF;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s 0.3s;
    font-size: 16px;
    z-index: 9999;  /* 确保飘窗位于最前面 */
}

/* 显示飘窗 */
#success-toast.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease-in-out;
}